import request from '/@/utils/request';
//列表
export const menuList = (data: object) => {
    return request({
        method: 'post',
        url: "/auth/menus/index", // url
        data: data
    });
}
// 新增、编辑
export const menuAdd = (data: object) => {
    return request({
        method: 'post',
        url: "/auth/menus/add", // url
        data: data
    });
}
//删除
export const menuDelete = (data: object) => {
    return request({
        method: 'post',
        url: "/auth/menus/del", // url
        data: data
    });
}